/************************************************
  SECTION FAQs
*************************************************/
:root {
  --font-size-h3-card: 22px;
  --font-size-p-card: 16px;
}

@media (min-width: 1200px) {
  :root {
    --font-size-h3-card: 26px;
  }
}

@media (max-width: 744px) {
  :root {
    --font-size-h3-card: 20px;
    --font-size-p-card: 14px;
  }
}


#mdpage .sectionFaq .faq__tabs-wrapper {
  overflow: hidden;
  margin-bottom: 40px;
}

#mdpage .sectionFaq .faq__tabs-wrapper {
  position: relative;
}

@media (max-width: 1023.95px) {
  #mdpage .sectionFaq .faq__tabs-wrapper::before,
  #mdpage .sectionFaq .faq__tabs-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
  }
  #mdpage .sectionFaq .faq__tabs-wrapper::before {
    left: 0;
    width: 30px;
    background:
      linear-gradient(
        to left,
        rgba(255,255,255,0),
        white
      );
  }
  #mdpage .sectionFaq .faq__tabs-wrapper::after {
    right: 0;
    background:
      linear-gradient(
        to right,
        rgba(255,255,255,0),
        white
      );
  }
}


#mdpage .sectionFaq .faq__tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

#mdpage .sectionFaq .faq__tabs::-webkit-scrollbar {
  display: none;
}
#mdpage .sectionFaq .faq__tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 0;
  border-radius: 0;
  padding: 12px 18px;
  font-size: 16px;
  color: #000;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
  
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
  appearance: none;
    
  /* Remove the default iOS blue tap/focus flash */
  -webkit-tap-highlight-color: transparent; 
}

#mdpage .sectionFaq .faq__tab.active {
  text-decoration: underline;
}
@media (min-width: 900px) {
  #mdpage .sectionFaq .faq__tabs {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  #mdpage .sectionFaq .faq__tabs {
    gap: 8px;
  }
  #mdpage .sectionFaq .faq__tab {
    padding: 12px 6px;
    font-size: 18px;
  }
}
@media (min-width: 1200px) {
  #mdpage .sectionFaq .faq__tab {
    padding: 12px 12px;
  }
}

#mdpage .sectionFaq .faq__item:not(:last-child) {
  border-bottom: 1px solid #e8e8e8;
}

#mdpage .sectionFaq .faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #e0dede;
  border: none;
  padding: 20px;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-size-h3-card);
}
    
@media (min-width: 1024px) {
  #mdpage .sectionFaq .faq__question {
  }
}

#mdpage .sectionFaq .faq__question button {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 4px 90px 4px 0;
  border: 0;
  overflow: visible;
  text-align: inherit;
  border-radius: 0;
  cursor: pointer;
  color: #000;
  font: inherit;
  background: transparent;
  line-height: normal;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: top;
}
  

/*#mdpage .sectionFaq .faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .35s ease;
}

#mdpage .sectionFaq .faq__item.open .faq__icon {
  transform: rotate(180deg);
}*/

#mdpage .sectionFaq .faq__question-button::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 0;
  display: block;
  width: 22px;
  height: 22px;
  background-image: url(../img/ico-arrow-black.svg);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  -o-transition: transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
  transition: transform .3s, -webkit-transform .3s;
  transition: transform .35s, -webkit-transform .35s;
}
#mdpage .sectionFaq .faq__item.open .faq__question-button::after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
}



#mdpage .sectionFaq .faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.4,0,.2,1);
  background: #f4f4f4;
}


#mdpage .sectionFaq .faq__answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom .45s cubic-bezier(.4,0,.2,1);
}

#mdpage .sectionFaq .faq__item.open .faq__answer {
  grid-template-rows: 1fr;
}
#mdpage .sectionFaq .faq__item.open .faq__answer-inner {
}
#mdpage .sectionFaq .faq__item .faq__answer-inner p {
  padding: 20px;
  font-size: var(--font-size-p-card);
}
@media (min-width: 1024px) {
  #mdpage .sectionFaq .faq__answer {
  }
}



